﻿cmake_minimum_required (VERSION 3.8)

# set subdirectory <include>:
set(H_PATH   include)
include_directories(${H_PATH})

set(H_LIST  ${H_PATH}/AMRDef.h)

#set directory <src>:
set(CPP_PATH  src)
include_directories(${CPP_PATH})

set(CPP_LIST ${CPP_PATH}/vector_test.cpp)

set(exec_name "test")
set(HEAD_LIST ${H_LIST})
set(Sources ${CPP_LIST} )

add_executable (${exec_name} ${CPP_LIST}  ${HEAD_LIST})